{extend name="main/index" /}
{block name="main"}
<!--角色列表页面-->
<div class="content-page">
    <div class="content">
        <table class="table table-bordered">

            <tr>
                <th class="active text-center">编号</th>
                <th class="active text-center">权限名</th>
                <th class="active text-center">控制器</th>
                <th class="active text-center">方法</th>
                <th class="active col-xs-5 text-center">操作</th>
            </tr>
            <!--遍历-->
            {volist name="list" id="v" }
            <tr>
                <td class="info text-center">{$v['n_id']}</td>
                <td class="info text-center">{$v['n_name']}</td>
                <td class="info text-center">{$v['n_controller']}</td>
                <td class="info text-center">{$v['n_model']}</td>

                <td class="info text-center">
                    <a href="" class="btn btn-xs btn-default show-btn" style="margin-left: 20px">启用</a>
                    <a href="{:url('admin/Con3/edit',['id'=>$v['n_id']])}" class="btn btn-xs btn-danger del-btn" style="margin-left: 20px">修改</a>
                    <a href="" class="btn btn-xs btn-primary" style="margin-left: 20px">删除</a>

                </td>
            </tr>
            {/volist}
        </table>
    </div>
</div>
{/block}